Original Paper
Abstract
Background: Obstructive sleep apnea (OSA) affects nearly one billion people globally and poses a substantial public health threat. Effective and accessible methods for OSA risk identification are urgently needed.
Objective: This study aims to develop and externally validate a machine learning model derived from multi-parameter pulse oximetry (SpO2) for OSA screening, and to evaluate its performance, interpretability, and robustness across sex and age subgroups.
Methods: Of 4156 screened participants, 2195 underwent polysomnography (internal cohort) and 446 received home sleep apnea testing (external cohort). Eight SpO2-derived parameters, including oxygen desaturation index (ODI), hypoxic burden (HB), and ST90 (percentage of sleep time with SpO2 < 90%), were used to construct models. Six machine learning algorithms were trained, with F1-score as the primary metric and area under the curve as the secondary metric. Model interpretability was assessed using Shapley additive explanations and intrinsic feature importance scores.
Results: Nonlinear parameter-risk relationships were observed between oximetry indices and OSA probability. The 4-parameter ODI-HB-MinSpO2-ST90 model achieved optimal performance (F1-score = 0.9516, area under the curve = 0.9879), surpassing all single-parameter models. Shapley additive explanations analysis identified ODI, HB, and MinSpO2 as key predictors. The ODI-HB-MinSpO2-MeanSpO2 configuration demonstrated superior performance in female and younger subgroups, whereas the ODI-HB-MinSpO2-ST90 model remained optimal for male and older participants. Categorical boosting outperformed other algorithms across multiple metrics and remained robust in both subgroup and external validation analyses.
Conclusions: The multi-parameter oximetry model based on the categorical boosting algorithm provides a simple and accurate tool for OSA screening. Sex- and age-stratified strategies can further enhance its clinical applicability.
doi:10.2196/80384
Keywords
Introduction
Obstructive sleep apnea (OSA) affects nearly one billion individuals globally [], and untreated OSA significantly increases the comorbidity burden and the risk of motor vehicle crashes []. Although polysomnography (PSG) remains the diagnostic gold standard, its high cost and operational complexity limit widespread accessibility [,]. Current screening tools, such as the STOP-BANG questionnaire or single physiological parameters, demonstrate limited diagnostic accuracy, with reported area under the receiver operating characteristic curve (AUC) values ranging from 0.55 to 0.83 [,]. Therefore, developing robust OSA screening tools using readily available physiological parameters remains imperative.
The pathophysiology of OSA is characterized by recurrent upper airway collapse, resulting in intermittent nocturnal hypoxia. Pulse oximetry-derived metrics, including the oxygen desaturation index (ODI), percentage of sleep time with SpO2 < 90% (ST90), and minimum oxygen saturation (MinSpO2), offer accessible alternatives to PSG [], yet they reflect only a single dimension of nocturnal desaturation, thereby limiting their clinical utility []. ODI quantifies the frequency of desaturation events and correlates with PSG-derived apnea-hypopnea index (AHI), but does not capture hypoxic duration or desaturation depth []. ST90 reflects cumulative hypoxic burden (HB) but cannot distinguish between distinct hypoxic patterns, such as single prolonged versus multiple brief desaturations []. MinSpO2 identifies the instantaneous nadir but does not characterize cumulative hypoxic exposure []. The novel integrated HB metric, which combines desaturation depth, duration, and frequency, demonstrates superior predictive performance for OSA-related comorbidities compared with AHI and ODI [], though direct comparisons with conventional metrics within the same datasets remain scarce []. Entropy and frequency-domain analyses of SpO2 complexity can capture dynamic nocturnal fluctuations overlooked by traditional metrics [,]. However, most existing studies evaluate parameters in isolation or focus on linear associations, leaving multidimensional feature integration and nonlinear relationships among parameters largely unexplored [,,]. Thereby, multi-parameter models leveraging complementary oximetric indices may yield improved robustness for OSA screening [,,].
Machine learning (ML) holds great potential for OSA diagnosis. Although deep learning models (eg, OxiNet) enable high-precision AHI estimation [], their “black box” nature compromises clinical interpretability and raises clinical skepticism, thus limiting real-world utility [,]. Traditional ML algorithms show inconsistent performance across cohorts, with support vector machines (SVM) and random forests (RF) demonstrating variable performance [,]. Extreme gradient boosting (XGBoost) models for moderate-to-severe OSA exhibit limited accuracy (sensitivity 72.5%, specificity 62.8%) []. Least squares boosting for AHI estimation illustrates the benefits of ensemble approaches but does not resolve generalization issues between community and clinical cohorts []. Recent evidence suggests that categorical boosting (CatBoost) is superior for OSA classification, outperforming XGBoost, light gradient boosting machine (LightGBM), and RF in several studies [,], yet its application to oximetry-based OSA screening has not been evaluated.
Our study has three main aims: (1) to develop a parsimonious and robust OSA screening tool by evaluating multidimensional oximetric parameters using ML; (2) to validate model generalizability across community and clinical populations in an independent external cohort undergoing home sleep apnea test (HSAT); and (3) to assess performance heterogeneity across sex and age subgroups to inform personalized screening strategies.
Methods
Study Design and Population
We consecutively enrolled adults with suspected OSA who underwent in-laboratory PSG at the Sleep Center of Ruijin Hospital, Shanghai Jiao Tong University School of Medicine, between June 2022 and July 2024. During the same period, we additionally recruited community-based participants who underwent HSAT. Inclusion criteria were age ≥18 years, prominent snoring, and provision of informed consent. Exclusion criteria included: (1) chronic diseases that may contribute to hypoxemia, such as heart failure, chronic obstructive pulmonary disease, chronic kidney disease; (2) chronic use of medications affecting sleep, including sedative-hypnotics, anxiolytics, antidepressants, and antipsychotics; (3) other concurrent sleep disorders, such as upper airway resistance syndrome, restless legs syndrome, or hypersomnia; (4) prior treatment for OSA; and (5) incomplete data. The participant flowchart is shown in .

Ethical Considerations
The study protocol complied with the Declaration of Helsinki and was approved by the Ruijin Hospital Ethics Committee (approval number: 2018-107). Due to its retrospective design, all data were fully deidentified, and the ethics committee waived the requirement for informed consent. All data were securely stored in accordance with institutional research data management standards, and no compensation was provided to participants.
PSG and HSAT
Participants abstained from sedatives, alcohol, and caffeinated beverages for at least 24 hours prior to the study. In-laboratory PSG was performed using the Alice 6 system (Philips Respironics, Murrysville, PA, USA) with standard monitoring including electroencephalography, submental electromyography, bilateral electrooculography, electrocardiography, pulse oximetry, oronasal airflow via thermistor and pressure transducer, thoracoabdominal effort, snoring, and body position. HSAT used the Alice NightOne device (Philips Respironics, Murrysville, PA, USA) to record nasal airflow, respiratory effort, and fingertip SpO2. Recordings with more than 4 hours of analyzable data following manual review were considered valid. Two certified sleep specialists independently scored PSG and HSAT data according to the AASM scoring manual []: apnea was defined as ≥ 90% airflow reduction for ≥ 10 seconds, and hypopnea as ≥ 30% airflow reduction for ≥ 10 seconds accompanied by ≥ 4% SpO2 desaturation. AHI was calculated as the total number of apneas and hypopneas per hour of sleep, and OSA was defined as AHI ≥ 5 events/hour.
Definition and Calculation of Pulse Oximetry Parameters
Summary of Signal Processing
During PSG and HSAT, SpO2 signals were collected at a sampling rate of 500 Hz and down-sampled to 1 Hz for computational efficiency. Eight parameters were extracted to quantify different aspects of nocturnal hypoxemia:
Mean SpO2 (MeanSpO2) and Minimum SpO2 (MinSpO2)
The average and the lowest SpO2 values during sleep:
These reflect overall oxygenation status and the most severe desaturation [].
Oxygen Desaturation Index (ODI)
Number of desaturation events (≥ 4% drop from baseline) per hour of sleep:
Where TST is the total sleep time (hours). ODI is a key indicator of the frequency of respiratory disturbances and serves as a surrogate for the AHI [].
T90 and ST90
Total time and percentage of sleep spent with SpO2 below 90%:
These quantify cumulative exposure to clinically significant hypoxemia [].
Hypoxic Burden (HB)
The normalized total area under the SpO2 desaturation curve associated with respiratory events.
where AUCi is the area of the i-th desaturation event identified by the “Trapping Rain Water” algorithm (), and TRT is the total recording time. HB integrates frequency, depth, and duration of desaturations, representing total oxygen debt [].

Attention Entropy (AttnEn)
AttnEn is a complexity measure of the SpO2 signal waveform variability [].
Where Pi is the distribution of intervals between adjacent local extrema. Higher entropy reflects fragmented, unstable desaturation patterns typical of severe OSA.
Total Spectral Power (TotalPower)
Integrated Lomb–Scargle periodogram power within the ultradian band (0.014-0.035 Hz), corresponding to respiratory cycles of 30-70 seconds.
Elevated power in this band indicates the repetitive oscillatory desaturation dynamics characteristic of OSA [,].
The algorithm proceeds as follows: (1) Event Identification: The pulse oximetry (SpO2) signal is analyzed to detect all local minima (valleys), thereby identifying the nadir (lowest saturation) of each desaturation event. (2) Window Initialization: From each nadir, a bidirectional search is performed to delineate the event window (Winstart and Winfinish). Boundaries are established at the nearest peaks that recover to ≥75% of the preceding peak-to-nadir amplitude. (3) Boundary Refinement: The search window is further adjusted based on the mean event duration to ensure temporal consistency. (4) Baseline Determination: The baseline for each event is defined as the maximum SpO2 value within the 100-second window preceding the event onset. (5) Area Integration: The under the curve (AUC for each event is computed by integrating the deficit between the baseline and the SpO2 signal within the defined window. (6) Hypoxia burden (HB) Calculation: All individual AUCs are summed to obtain the total desaturation area, which is then divided by the total recording time to derive the HB.
Establishment and Validation of ML Models
Data Preprocessing
To mitigate bias from varying feature magnitudes, the data were first standardized via Z‑score normalization, transforming each feature to a mean of 0 and SD of 1 using:
where μ and σ represent the mean and SD of the feature. This step ensures stable distance‑based computations and gradient optimization. Subsequently, class imbalance was addressed using the synthetic minority over‑sampling technique (SMOTE) [,]. SMOTE synthesizes minority‑class samples by interpolating between an instance xi and a randomly chosen neighbor x̂i from its k-nearest neighbors.
Algorithm Introduction
This study evaluates multiple ML models, grouped into three categories: (1) linear and kernel‑based models, (2) ensemble learning methods, and (3) gradient boosting decision trees, to balance interpretability with predictive performance. For linear and kernel-based models, logistic regression (LR) is a foundational model for clinical binary classification. It extends linear regression by applying the Sigmoid function to map linear outputs to a probability range between 0 and 1:
Where P is the predicted probability, β0 is the bias, βi are coefficients, and xi represent input features. Its transparency and low computational cost make it a standard benchmark in medical research [,].
SVM constructs an optimal separating hyperplane by maximizing the margin between classes. Its decision function is:
w·x + b = 0
Where w is the normal vector, x is the input feature, and b is the bias. The model is trained by minimizing
subject to the constraint yi (w·xi + b) ≥ 1, ensuring correct classification with a margin of at least one. SVMs excel in high-dimensional spaces and can capture nonlinear patterns through kernel functions, making them a widely adopted method [].
For ensemble learning methods, RF is a bagging ensemble method that reduces overfitting by aggregating predictions from multiple decision trees. Each tree is trained on a bootstrap sample of the data and a random subset of features. The final prediction is obtained through majority voting:
where ŷ is the final predicted result, ht(x) denotes the prediction of the t-th tree, and T is the total number of trees. By averaging across trees, RF improves stability and accuracy, making it effective for high-dimensional data and widely used in practice [].
For gradient boosting decision trees, this kind of method iteratively combines weak learners, typically decision trees, to minimize a regularized objective function:
Where l(yi, ŷi) represents the loss function, Ω(fj) controls model complexity; and θ denotes the parameters.
Three prominent variants, including XGBoost, LightGBM, and CatBoost, share this framework but differ in optimization and implementation: XGBoost uses second-order gradient approximation and explicit regularization, offering high precision and efficiency, especially with structured or sparse data [,]. LightGBM uses a leaf-wise growth strategy with gradient-based sampling and feature bundling, enabling faster training on large-scale datasets []. CatBoost is optimized for categorical features, using ordered target statistics and symmetric trees to prevent prediction shift and effectively handle high-dimensional categorical variables [].
Modeling Process
The modeling pipeline followed a 2‑stage design: internal development with cross‑validation followed by independent external validation (). In the internal phase, a cohort of 2195 subjects was preprocessed and evaluated using 5-fold cross-validation. To prevent data leakage, SMOTE was applied exclusively to the training folds, with validation sets retaining the original class distribution. Six ML algorithms were trained under fixed random seeds to ensure reproducibility, and hyperparameters are detailed in . Model selection was based on the average performance across validation folds. The best-performing model was subsequently retrained on the full internal dataset (n=2195) without SMOTE to preserve the original data distribution. The selected model’s generalization ability was then assessed on an independent external cohort (n=446). Performance on this external set reflects the model’s robustness for real-world OSA screening.
| Model | Hyperparameters |
| SVMa | ‘C’: 1.0, ‘gamma’: ‘scale’, ‘kernel’: ‘rbf’ |
| RFb | ‘criterion’: ‘gini’, ‘max_features’: ‘sqrt’, ‘n_estimators’: 100 |
| LRc | ‘C’: 1.0, ‘penalty’: ‘l2’, ‘tol’ : 1e–4 |
| XGBoostd | ‘learning_rate’: 0.3, ‘reg_lambda’:1, ‘n_estimators’: 100, ‘booster’: ‘gbtree’ |
| LightGBMe | ‘learning_rate’: 0.1, ‘n_estimators’: 100, ‘boosting_type’: ‘gbdt’ |
| CatBoostf | ‘learning_rate’: 0.03, ‘n_estimators’: 100, ‘loss_function’: ‘Logloss’, ‘l2_leaf_reg’: 3 |
aSVM: support vector machine.
bRF: random forest.
cLR: logistic regression.
dXGBoost: extreme gradient boosting.
eLightGBM: light gradient boosting machine.
fCatBoost: categorical boosting.
Model Evaluation Metrics
Predictive performance was quantified using accuracy, sensitivity, specificity, F1-score, AUC, positive predictive value (PPV), and negative predictive value. The specific formulas are as follows:
Where TP represents true positives, TN represents true negatives, FP represents false positives, and FN represents false negatives. Given the class imbalance in the clinical cohort, the F1-score was selected as the primary evaluation metric because it balances PPV and sensitivity (recall). In imbalanced clinical settings, AUC may overestimate performance by reflecting overall discriminability while masking poor sensitivity to the minority class. Unlike the threshold-independent AUC, the F1-score directly captures misclassification costs for minority samples, thereby ensuring robust diagnostic accuracy across classes. AUC is reported as a complementary measure of overall discriminative ability [].
Statistical Analysis
All analyses were conducted using Python (version 3.11; Python Software Foundation). Continuous variables are presented as median and IQR, and categorical variables as frequency and percentage. The Anderson–Darling test was used to assess normality. Group differences were evaluated with the Kruskal–Wallis H test, followed by Dunn’s post-hoc test (significance threshold P<.05). To examine linear and nonlinear associations between continuous predictors and the binary outcome, restricted cubic spline (RCS) regression was fitted within an LR framework. Likelihood-ratio tests compared RCS models against linear specifications, and spline curves were used to visualize dose-response relationships. To further interpret model predictions, Shapley additive explanations (SHAP) were used to quantify the contribution of each feature. Finally, stratified analyses by sex and age were conducted for these oximetry parameters.
Results
Characteristics of Study Participants
Among 4156 screened participants, 2641 were included in the final analysis: 2195 undergoing PSG and comprised the internal development cohort, and 446 undergoing HSAT and formed the external validation cohort (). The internal cohort consisted of 943 non-OSA and 1252 OSA participants. Compared with the non-OSA group, the OSA group was significantly older, a higher male proportion, experienced more frequent hypoxic episodes, and had longer hypoxic durations. The external cohort comprised 76 non-OSA and 370 OSA participants. These OSA patients displayed higher AHI, ODI, ST90, T90, and HB values alongside lower oxygen saturation, yet they were younger than non-OSA participants, with no significant between-group difference in sex distribution. Demographic and clinical characteristics are summarized in . Violin plots () revealed a higher median age (60.0 vs 45.0 years) and more severe nocturnal hypoxemia in the external validation cohort, underscoring distinct disease severity and physiological profiles between the 2 cohorts. These differences provide a robust foundation for validating the generalizability of the multi-parameter oximetry model across diverse clinical scenarios.
| Characteristics | Internal development cohort | External cohort | |||||||
| All (n=2195) | Non-OSAa (n=953) | OSA (n=1242) | P value | All (n=446) | Non-OSA (n=76) | OSA (n=370) | P value | ||
| Age (years), median (IQR) | 45.00 (36.00-57.00) | 45.00 (35.00-57.00) | 46.00 (37.00-57.00) | .001 | 60.0 (45.00-69.00) | 63.00 (49.75-71.25) | 58.00 (44.00-68.00) | <.001 | |
| Male, n (%) | 1651 (75.22) | 684 (71.77) | 967 (77.86) | <.001 | 351 (78.70) | 55 (72.37) | 296 (80.00) | .14 | |
| AHIb (events/h), median (IQR) | 8.20 (2.10-34.10) | 1.80 (0.90-3.00) | 29.15 (13.83-54.08) | <.001 | 19.40 (9.03-37.48) | 2.25 (0.90-3.58) | 24.80 (13.65-42.45) | <.001 | |
| ODIc (events/h), median (IQR) | 12.80 (3.80-37.90) | 3.30 (1.70-5.40) | 33.45 (16.70-58.55) | <.001 | 23.85 (10.40-45.28) | 3.40 (1.18-5.13) | 29.00 (17.35-49.53) | <.001 | |
| MinSpO2d (%), median (IQR) | 86.00 (78.00-90.00) | 90.00 (88.00-92.00) | 79.00 (71.00-85.00) | <.001 | 82.00 (75.00-86.00) | 89.00 (88.00-91.00) | 80.00 (72.00-85.00) | <.001 | |
| MeanSpO2 (%), median (IQR) | 95.00 (93.00-96.00) | 96.00 (95.00-96.00) | 94.00 (92.00-95.00) | <.001 | 94.00 (92.00-95.00) | 95.00 (94.00-97.00) | 93.00 (92.00-95.00) | <.001 | |
| ST90e (%), median (IQR) | 0.44 (0.02-5.12) | 0.02 (0-0.11) | 3.38 (0.72-14.42) | <.001 | 2.91 (0.32-13.80) | 0.0 (0-0.20) | 4.51 (1.12-16.48) | <.001 | |
| T90f (minute), median (IQR) | 2.00 (0.10-23.70) | 0.10 (0.00-0.50) | 16.20 (3.5-67.10) | <.001 | 14.50 (1.53-65.52) | 0.00 (0.00-0.10) | 22.20 (5.55-78.9) | <.001 | |
| HBg (%·min/h), median (IQR) | 3.90 (0.90-16.40) | 0.70 (0.20-1.70) | 13.20 (5.50-36.80) | <.001 | 51.83 (20.22-112.84) | 6.29 (2.32-9.70) | 65.97 (35.07-138.08) | <.001 | |
| AttnEnh, median (IQR) | 2.19 (1.78-2.84) | 1.74 (1.54-1.97) | 2.70 (2.25-3.37) | <.001 | 5.87 (5.62-6.10) | 6.10 (5.99-6.25) | 5.82 (5.57-6.01) | <.001 | |
| TotalPoweri (dB), median (IQR) | 38.17 (35.83-40.81) | 37.61 (35.62-40.64) | 38.52 (36.10-41.10) | <.001 | 46.95 (45.56-49.16) | 45.06 (44.81-45.40) | 47.33 (46.11-50.28) | <.001 | |
aOSA: obstructive sleep apnea.
bAHI: apnea-hypopnea index.
cODI: oxygen desaturation index.
dMinSpO2: minimal SpO2.
eST90: percentage of sleep time with SpO2 < 90%.
fT90: total sleep time spent with SpO2 < 90%.
gHB: hypoxia burden.
hAttnEn: attention entropy.
iTotalPower: integrated power from power spectral density estimates in the 14-35 mHz frequency band.

Performance of Single-Parameter Oximetry Models
We evaluated the predictive performance of 8 OSA-related oximetry parameters using 6 ML algorithms. Given the class imbalance between OSA and non-OSA groups in the internal cohort, the F1-score was selected as the primary metric to balance precision and recall, with AUC used to assess overall discriminative performance []. Substantial heterogeneity was observed in model performance, with F1-scores ranging from 0.5332 to 0.9269 and AUC values from 0.5660 to 0.9808. Notably, ODI and HB exhibited the strongest discriminative ability. A summarizes the top 4 single-parameter oximetry models ranked by F1-score. The SVM model achieved optimal performance for ODI (F1-score = 0.9269, AUC = 0.9712), and the LightGBM model performed best for HB (F1-score = 0.9043, AUC = 0.9590). By contrast, MeanSpO2 and TotalPower showed comparatively weaker discriminative capacity, with F1-score of 0.7073 (LR model) and 0.6713 (CatBoost model), respectively.
Beyond the linear association of MinSpO2, all other oximetry parameters exhibited nonlinear relationships with OSA risk (P<.001), accounting for the heterogeneous predictive performance across indicators. Strong predictors, including ODI, HB, T90, and ST90, exhibited steep dose-response curves with pronounced threshold effects (). For instance, ODI showed a rapid risk escalation at lower values followed by a plateau, thereby providing distinct decision boundaries that enhanced the model’s discriminative ability and optimized F1-scores. Conversely, weaker predictors exhibited contrasting profiles: MeanSpO2 showed shallow gradients within the clinically critical 88%-92% range, resulting in classification ambiguity, whereas TotalPower displayed marked variability with widened 95% CIs at higher values, indicating substantial noise that limited predictive utility (). Given the complex nonlinear patterns of most key predictors, traditional linear regression models fail to capture these critical features.


Predictive Performance of Multi-Parameter Oximetry Models
We constructed and evaluated multi-parameter oximetry models, including 28 dual-, 56 triple-, and 70 quadruple-parameter combinations, with top-performing models illustrated in B-D. Among the dual-parameter models, the CatBoost-trained ODI-HB model achieved optimal performance (F1-score = 0.9472, AUC = 0.9865; , B). The ODI-HB-MinSpO2 model performed best in the triple-parameter category (F1-score = 0.9496, AUC = 0.9869; , C), whereas the quadruple-parameter ODI-HB-MinSpO2-ST90 model attained the highest overall discriminative ability (F1-score = 0.9516, AUC = 0.9879), significantly outperforming single-parameter oximetry models (, ). CatBoost demonstrated consistent superiority across all evaluation metrics (). Notably, adding 5 or more oximetry parameters yielded only marginal gains, underscoring the importance of selecting informative and complementary features rather than an indiscriminate increase in input dimensionality.
| Feature sets and machine learning model | AUCa | F1-score | Accuracy | Sensitivity | Specificity | PPVb | NPVc | |||||||
| ODI-HBd,e | ||||||||||||||
| CatBoostf | 0.9865 | 0.9472 | 0.9408 | 0.9412 | 0.9402 | 0.9537 | 0.9253 | |||||||
| LightGBMg | 0.9280 | 0.9361 | 0.9280 | 0.9332 | 0.9213 | 0.9396 | 0.9143 | |||||||
| XGBoosth | 0.9812 | 0.9344 | 0.9262 | 0.9300 | 0.9213 | 0.9392 | 0.9104 | |||||||
| RFi | 0.9794 | 0.9360 | 0.9280 | 0.9316 | 0.9234 | 0.9409 | 0.9129 | |||||||
| LRj | 0.9809 | 0.9217 | 0.9134 | 0.8881 | 0.9496 | 0.9586 | 0.8655 | |||||||
| SVMk | 0.9774 | 0.9297 | 0.9226 | 0.9066 | 0.9434 | 0.9545 | 0.8863 | |||||||
| ODI-HB-MeanSpO2l | ||||||||||||||
| CatBoost | 0.9869 | 0.9496 | 0.9435 | 0.9420 | 0.9454 | 0.9575 | 0.9265 | |||||||
| LightGBM | 0.9848 | 0.9432 | 0.9367 | 0.9332 | 0.9413 | 0.9540 | 0.9165 | |||||||
| XGBoost | 0.9831 | 0.9427 | 0.9358 | 0.9372 | 0.9339 | 0.9487 | 0.9205 | |||||||
| RF | 0.9803 | 0.9446 | 0.9380 | 0.9348 | 0.9423 | 0.9550 | 0.9179 | |||||||
| LR | 0.9816 | 0.9248 | 0.9180 | 0.8921 | 0.9517 | 0.9604 | 0.8720 | |||||||
| SVM | 0.9796 | 0.9267 | 0.9194 | 0.9018 | 0.9423 | 0.9536 | 0.8813 | |||||||
| ODI-HB-MinSpO2-ST90m | ||||||||||||||
| CatBoost | 0.9879 | 0.9516 | 0.9458 | 0.9444 | 0.9475 | 0.9592 | 0.9296 | |||||||
| LightGBM | 0.9862 | 0.9451 | 0.9385 | 0.9388 | 0.9381 | 0.9520 | 0.9227 | |||||||
| XGBoost | 0.9842 | 0.9436 | 0.9367 | 0.9380 | 0.9349 | 0.9496 | 0.9212 | |||||||
| RF | 0.9856 | 0.9512 | 0.9453 | 0.9444 | 0.9465 | 0.9585 | 0.9299 | |||||||
| LR | 0.9811 | 0.9236 | 0.9162 | 0.8970 | 0.9412 | 0.9525 | 0.8760 | |||||||
| SVM | 0.9815 | 0.9285 | 0.9212 | 0.9050 | 0.9423 | 0.9537 | 0.8844 | |||||||
aAUC: area under the receiver operating characteristic curve.
bPPV: positive predictive value.
cNPV: negative predictive value.
dODI: oxygen desaturation index.
eHB: hypoxia burden.
fCatBoost: categorical boosting.
gLightGBM: light gradient boosting machine.
hXGBoost: extreme gradient boosting.
iRF: random forest.
jLR: logistic regression.
kSVM: support vector machine.
lMinSpO2: minimal SpO2.
mST90: percentage of sleep time with SpO2 < 90%.

Stratified Analysis by Sex and Age
Subgroup analyses revealed significant performance variations across demographics. In the male subgroup, the optimal model (ODI-HB-MinSpO2-ST90) achieved an F1-score of 0.9460 and an AUC of 0.9853, with CatBoost outperforming other algorithms (, A). In the female subgroup, the best-performing combination was ODI-HB-MinSpO2-MeanSpO2 (F1-score = 0.9543, AUC = 0.9919; , B), suggesting sex-specific differences in OSA-related hypoxic patterns. In the age-stratified analysis, the older subgroup demonstrated superior overall performance (F1-score = 0.9398-0.9701, AUC = 0.9913-0.9933) with ODI-HB-MinSpO2-ST90 as the optimal model, whereas the younger subgroup exhibited stable but slightly lower performance (F1-score = 0.9163-0.9467, AUC = 0.9774-0.9863), favoring ODI-HB-MinSpO2-MeanSpO2 (C-D). Across all subgroups, CatBoost maintained consistently superior classification performance ().
| Feature Sets | Subgroupa | AUCb | F1-score | Accuracy | Sensitivity | Specificity | PPVc | NPVd |
| ODI-HB-MinSpO2-ST90e,f,g,h | Male | 0.9853 | 0.9460 | 0.9376 | 0.9338 | 0.9438 | 0.9587 | 0.9102 |
| ODI-HB-MinSpO2-MeanSpO2 | Female | 0.9919 | 0.9543 | 0.9541 | 0.9527 | 0.9554 | 0.9572 | 0.9532 |
| ODI-HB-MinSpO2-ST90 | Older (≥ 60 years) | 0.9942 | 0.9701 | 0.9657 | 0.9664 | 0.9647 | 0.9741 | 0.9552 |
| ODI-HB-MinSpO2-MeanSpO2 | Younger (< 60 years) | 0.9863 | 0.9467 | 0.9404 | 0.9384 | 0.9429 | 0.9552 | 0.9224 |
aAll subgroup models used CatBoost as the optimal classifier.
bAUC: area under the receiver operating characteristic curve.
cPPV: positive predictive value.
dNPV: negative predictive value.
eODI: oxygen desaturation index.
fHB: hypoxia burden.
gMinSpO2: minimal SpO2.
hST90: percentage of sleep time with SpO2 < 90%.

Model Interpretability
To elucidate the predictive mechanisms of the optimal 4-parameter model, we integrated SHAP analysis with normalized feature importance scores. SHAP values quantified each feature’s marginal contribution and revealed nonlinear relationships between oximetry parameters and OSA risk (A), while normalized scores reflected relative contribution weights (B). In the internal cohort, ODI, HB, and MinSpO2 emerged as the top 3 predictors, with importance scores of 0.437, 0.320, and 0.137, respectively (B). Subgroup analyses revealed heterogeneous contribution patterns across sex and age strata (C-J). Notably, male and older subgroups showed consistent dominance of ODI, HB, MinSpO2, and ST90 (C, D, G, H), with ODI exhibiting the highest contribution in the older subgroup (importance score: 0.511). Conversely, younger and female subgroups were characterized by ODI-HB-MinSpO2-MeanSpO2, where MeanSpO2 replaced ST90 as a stronger predictor (E,F,I,J). Particularly in females, MeanSpO2 surpassed MinSpO2 in contribution strength (F).

External Validation
To assess generalizability, we tested model performance on an independent external cohort. The CatBoost algorithm demonstrated robust generalizability, achieving an F1-score of 0.9667 with single-parameter configurations and maintaining high performance as oximetry parameter complexity increased (). Specifically, the optimal 4-parameter oximetry model (ODI-HB-MinSpO2-ST90) achieved an F1-score of 0.9838 and an AUC of 0.9881 (, D), suggesting that the model captures shared OSA pathophysiological features rather than overfitting the internal cohort. Subgroup analysis further confirmed the robustness of sex- and age-stratified models in the external cohort (). Sex-optimized models achieved F1-scores of 0.9848 (male subgroup: ODI-HB-MinSpO2-ST90) and 0.9799 (female subgroup: ODI-HB-MinSpO2-MeanSpO2), with AUCs exceeding 0.98 (E, F). Age-stratified models similarly achieved F1-scores exceeding 0.98 across subgroups (G, H). These results validate the excellent generalizability of the CatBoost-based oximetry model for diverse OSA screening applications ().
| Feature sets | AUCa | F1-score | Accuracy | Sensitivity | Specificity | PPVb | NPVc |
| ODId | 0.9877 | 0.9667 | 0.9462 | 0.9405 | 0.9737 | 0.9943 | 0.7708 |
| ODI-HBe | 0.9861 | 0.9727 | 0.9552 | 0.9622 | 0.9211 | 0.9834 | 0.8333 |
| ODI-HB-MeanSpO2f | 0.9863 | 0.9810 | 0.9686 | 0.9784 | 0.9211 | 0.9837 | 0.8974 |
| ODI-HB-MinSpO2-ST90g | 0.9881 | 0.9838 | 0.9731 | 0.9838 | 0.9211 | 0.9838 | 0.9211 |
aAUC: area under the receiver operating characteristic curve.
bPPV: positive predictive value.
cNPV: negative predictive value.
dODI: oxygen desaturation index.
eHB: hypoxia burden.
fMinSpO2: minimal SpO2.
gST90: percentage of sleep time with SpO2 < 90%.

| Feature sets | Subgroup | AUCa | F1-score | Accuracy | Sensitivity | Specificity | PPVb | NPVc |
| ODI-HB-MinSpO2-ST90d,e,f,g | Male | 0.9854 | 0.9848 | 0.9744 | 0.9831 | 0.9273 | 0.9864 | 0.9107 |
| ODI-HB-MinSpO2-MeanSpO2 | Female | 0.9916 | 0.9799 | 0.9684 | 0.9865 | 0.9048 | 0.9733 | 0.9500 |
| ODI-HB-MinSpO2-ST90 | Older (≥ 60 years) | 0.9855 | 0.9830 | 0.9733 | 0.9719 | 0.9787 | 0.9943 | 0.9020 |
| ODI-HB-MinSpO2-MeanSpO2 | Younger (< 60 years) | 0.9914 | 0.9819 | 0.9683 | 0.9896 | 0.8276 | 0.9774 | 0.9231 |
aAUC: area under the receiver operating characteristic curve.
bPPV: positive predictive value.
cNPV: negative predictive value.
dODI: oxygen desaturation index.
eHB: hypoxia burden.
fMinSpO2: minimal SpO2.
gST90: percentage of sleep time with SpO2 < 90%.
Discussion
Principal Findings and Model Development
This study presents the first comprehensive evaluation of multidimensional oximetric parameters for OSA screening. Using 6 ML algorithms, we developed and rigorously validated an integrated multi-parameter model that overcomes the inherent limitations of conventional single- or dual-parameter approaches [,]. Through a novel algorithm-parameter matching framework, we established a CatBoost model combining ODI, HB, MinSpO2, and ST90. This model showed robust performance in external validation, providing a streamlined and high-precision tool for OSA screening. Furthermore, our findings elucidate the heterogeneous contributions of oximetric parameters across sex- and age-specific subgroups, addressing a critical gap in population-specific research [] and providing the foundation for personalized risk stratification.
Model Generalizability and Oximetric Parameter Performance
We used a large internal development set derived from PSG and an independent external validation set derived from HSAT, which included older patients with severe nocturnal hypoxemia, representing distinct clinical phenotypes. This integration of community and clinical data improves model generalizability and may streamline OSA diagnosis [,]. Consistent with previous reports, HSAT showed high diagnostic accuracy and strong correlation with PSG in older patients with severe OSA []. As expected, the OSA group was predominantly male and exhibited worse oximetry profiles [,,]. Single-parameter oximetry models demonstrated marked variability in predictive performance, with ODI and HB emerging as the strongest predictors. ODI quantifies hourly desaturation frequency and correlates strongly with AHI, acting as an independent predictor of OSA severity regardless of sleep stage or body position [,]. Although ODI >20 events/h showed high sensitivity (96.6%) for severe OSA, its AUC for mild disease was only 0.62, suggesting limited standalone utility [,]. In contrast, HB integrates desaturation depth and duration, better capturing the cumulative physiological burden of intermittent hypoxemia [,,]. Notably, RCS analysis revealed that the MeanSpO2 risk curves plateaued within the 88%-92% range, indicating that mean values fail to capture transient desaturation events and lack diagnostic sensitivity without complementary parameters []. TotalPower reflects global signal fluctuations without a specific mechanistic link to respiratory events []. These nonlinear parameter-risk relationships explain the suboptimal performance of linear models such as LR [,,,]. The steep threshold effects for ODI and HB suggest that even mild OSA can trigger substantial risk escalation, supporting the hypothesis of a critical threshold for hypoxic exposure [,].
Multidimensional Synergy of Oximetric Indices
We further quantified interactions among multiple oximetric indices. While ODI tracks event frequency, it neglects desaturation depth and duration, failing to capture physiological nuances of OSA heterogeneity [,]. Our 2-parameter ODI-HB CatBoost model achieved an F1-score of 0.9472. By characterizing both temporal and intensity dimensions, this synergy explains why ODI, as the strongest predictor, requires HB integration to improve performance [,]. The superior performance of our primary model, ODI-HB-MinSpO2-ST90 (F1-score = 0.9516, AUC = 0.9879), stems from the inherent complementarity of these parameters. MinSpO2 captures severe hypoxic nadirs [], while ST90 quantifies nocturnal hypoxemia duration []. Together, this 4-parameter ensemble facilitates comprehensive multidimensional phenotyping of OSA, encompassing the frequency, depth, duration, and cumulative burden of hypoxic events [,]. In terms of benchmarking, our model outperformed the multidimensional oximetry approach proposed by Kong et al [] (AUC=0.939) and the least squares boosting model (AUC=0.889-0.924) developed by Gutiérrez-Tobal et al []. Moreover, integrated models incorporating demographics, questionnaires, and facial photography achieve AUCs ranging from 0.88 to 0.89 [,], whereas our oximetry-only approach achieved superior accuracy without auxiliary clinical data. This suggests multidimensional oximetry indices serve as effective PSG surrogates, encapsulating more direct pathophysiological information than traditional clinical markers [].
Benchmarking of Prediction Models and ML Algorithms
ML algorithms demonstrate variable performance in OSA screening []. LR yielded an AUC of approximately 0.77 [], whereas SVM exhibited the highest accuracy exclusively for mild OSA []. RF reached 84.4% accuracy in predicting severe OSA but remained insensitive to complex feature interactions [,]. In contrast, gradient boosting frameworks excelled at handling heterogeneous interactions, class imbalances, and missing data [,]. By implementing ordered boosting, CatBoost effectively mitigates gradient bias, thereby enhancing model robustness and consistently outperforming established benchmarks such as XGBoost and LightGBM [,,]. Our study represents the first application of CatBoost to multidimensional oximetry-based OSA screening, underscoring its capacity to resolve complex nonlinear relationships [,]. Notably, performance did not improve with 5 or more oximetry parameters. Indiscriminate feature addition introduces multicollinearity and overfitting without incremental gains []. By prioritizing core parameter selection over feature stacking, our model ensures both robustness and clinical feasibility, providing a basis for developing portable screening devices [,].
Sex- and Age-Specific Performance Heterogeneity
Given the substantial phenotypic heterogeneity of OSA, sex-specific differences have been inadequately addressed in existing models, often leading to underdiagnosis among women [-]. To address this, we conducted stratified analyses by sex and age. In males and older subgroups, the ODI-HB-MinSpO2-ST90 model proved optimal, consistent with our overall findings. This result likely attributable to our predominantly male sample (median age 45 years). Conversely, the ODI-HB-MinSpO2-MeanSpO2 configuration demonstrated superior performance in females. Patiño et al [] reported that despite lower AHI values, women exhibit mean SpO2 reductions comparable to those in men, while Poka-Mayap et al [] confirmed significantly lower mean SpO2 levels in women with OSA, suggesting that the female OSA phenotype may be more closely linked to sustained hypoxemia. This may reflect heightened hypoxic sensitivity in women, where SpO2 fluctuations at subclinical AHI thresholds are sufficient to induce end-organ damage []. Notably, in older adults, the ODI-HB-MinSpO2-ST90 model achieved an exceptional AUC of 0.9950, surpassing that in younger participants. This enhanced accuracy likely stems from reduced hypoxic tolerance and pronounced SpO2 variability characteristic of aging. Indeed, older patients, particularly older women, consistently exhibit lower SpO2 levels independent of AHI burden [].
Model Interpretability and External Validation Robustness
Previous ML-based OSA diagnostic studies have focused predominantly on predictive performance, frequently neglecting to quantify parameter contributions, thereby limiting clinical trust and adoption of oximetry-based models [,,]. We addressed this “black-box” limitation through SHAP values and feature importance analysis, which corroborated the central role of ODI and HB while revealing significant feature hierarchy shifts across subgroups. Notably, the importance of MeanSpO2 increased substantially in the female subgroup, reinforcing hypotheses regarding sex-specific physiological signatures in which sustained hypoxemia may characterize the female phenotype more prominently [,,]. Furthermore, our CatBoost-based model maintained exceptional performance across independent external validation sets, with sex- and age-specific models demonstrating sustained stability, attributable to CatBoost’s ability to mitigate gradient bias []. Despite the relatively small non-OSA control group in the external validation cohort (n = 76), the high precision maintained across populations indicates strong potential for cross-cohort generalizability [,,]. This robustness suggests that ML-integrated multidimensional oximetry can streamline OSA screening protocols and reduce reliance on resource-intensive PSG [].
Limitations
This study has several limitations. First, despite the large sample size, participants were recruited from a single center and comprised individuals referred for suspected OSA. This may have resulted in a higher OSA prevalence than in the general population, thereby increasing the pretest probability and potentially overestimating diagnostic performance. Second, the lack of longitudinal follow-up precludes assessment of the model’s temporal consistency or long-term predictive capacity. Third, our cohort lacked racial and ethnic diversity, and as skin pigmentation can introduce systematic biases in SpO2 measurements, this may limit generalizability to individuals with darker skin tones []. Finally, the single-center design and absence of prospective community-based validation restricts broader external validity.
Conclusions
In conclusion, we developed and validated a robust CatBoost-based multidimensional oximetry model that enables accurate OSA screening. Although the ODI-HB-MinSpO2-ST90 combination demonstrated optimal performance in the general population, substituting ST90 with MeanSpO2 proved superior for female and younger subgroups. By integrating nocturnal hypoxemia indices spanning frequency, depth, and duration, our approach overcomes the limitations of single-parameter screening and offers multidimensional physiological assessment beyond conventional AHI-centric methods. These models can be readily integrated into portable monitoring devices or wearable technologies to facilitate early OSA diagnosis. Future research should prioritize multicenter prospective trials and multi-ethnic validation studies to establish standardized protocols for personalized OSA risk stratification.
Acknowledgments
This work was supported by the Open Project of the State Key Laboratory of Pollution Control and Resource Reuse, Tongji University (No. PCRRF21013).
Data Availability
The datasets generated or analyzed during this study are not publicly available due to privacy concerns, ethical restrictions, and protected health information regulations but are available from the corresponding author on reasonable request. The underlying code for this study (and training/validation datasets) is not publicly available but may be made available to qualified researchers on reasonable request from the corresponding author.
Funding
This study was supported by the grants from the National Natural Science Foundation of China (82100103), the National Science and Technology Major Project of China (2025ZD01902405), and the Shanghai Shenkang Hospital Management Center, Shanghai Clinical Cohort (SHDC2025CCS044).
Authors' Contributions
XQ developed software, visualized results, contributed to the original draft writing, validation, and funding acquisition. HL conceptualized the project, designed the methodology, validated results, and contributed to manuscript writing. RD curated data, validated results, visualized data, and conducted formal analysis. TG, HW, and PW contributed to the methodology and visualization. NL designed the methodology, curated data, validated results, provided supervision, project administration, resources, and contributed to writing and funding acquisition. All authors reviewed and approved the final manuscript.
Conflicts of Interest
None declared.
References
- Benjafield AV, Ayas NT, Eastwood PR, Heinzer R, Ip MSM, Morrell MJ, et al. Estimation of the global prevalence and burden of obstructive sleep apnoea: a literature-based analysis. Lancet Respir Med. 2019;7(8):687-698. [FREE Full text] [CrossRef] [Medline]
- Lv R, Liu X, Zhang Y, Dong N, Wang X, He Y, et al. Pathophysiological mechanisms and therapeutic approaches in obstructive sleep apnea syndrome. Signal Transduct Target Ther. 2023;8(1):218. [FREE Full text] [CrossRef] [Medline]
- Troester MM, Quan SF, Berry RB. The AASM Manual for the Scoring of Sleep and Associated Events: Rules, Terminology and Technical Specifications. Darien, IL. American Academy of Sleep Medicine; 2023.
- Kuo NY, Tsai HJ, Tsai SJ, Yang AC. Efficient screening in obstructive sleep apnea using sequential machine learning models, questionnaires, and pulse oximetry signals: mixed methods study. J Med Internet Res. 2024;26:e51615. [FREE Full text] [CrossRef] [Medline]
- Holfinger SJ, Lyons MM, Keenan BT, Mazzotti DR, Mindel J, Maislin G, et al. Diagnostic performance of machine learning-derived OSA prediction tools in large clinical and community-based samples. Chest. 2022;161(3):807-817. [FREE Full text] [CrossRef] [Medline]
- Yang H, Lu S, Yang L. Clinical prediction models for the early diagnosis of obstructive sleep apnea in stroke patients: a systematic review. Syst Rev. 2024;13(1):38. [FREE Full text] [CrossRef] [Medline]
- da Silva Dantas EL, Stelzer FG, Bernardo WM, Eckeli AL. Oximetry-based devices in diagnosis of obstructive sleep apnea: a systematic review and meta-analysis. Sleep Med Rev. 2025;83:102139. [CrossRef] [Medline]
- Kong D, Hu C, Zhu H. Oxygen desaturation index, lowest arterial oxygen saturation and time spent below 90% oxygen saturation as diagnostic markers for obstructive sleep apnea. Am J Transl Res. 2023;15(5):3597-3606. [FREE Full text] [Medline]
- Chen S, Redline S, Eden UT, Prerau MJ. Dynamic models of obstructive sleep apnea provide robust prediction of respiratory event timing and a statistical framework for phenotype exploration. Sleep. 2022;45(12):zsac189. [FREE Full text] [CrossRef] [Medline]
- Hui X, Cao W, Xu Z, Guo J, Luo J, Xiao Y. Hypoxic indices for obstructive sleep apnoea severity and cardiovascular disease risk prediction: a comparison and application in a community population. Respirology. 2024;29(9):825-834. [CrossRef] [Medline]
- Cabanas AM, Fuentes-Guajardo M, Sáez N, Catalán DD, Collao-Caiconte PO, Martín-Escudero P. Exploring the hidden complexity: entropy analysis in pulse oximetry of female athletes. Biosensors (Basel). 2024;14(1). [FREE Full text] [CrossRef] [Medline]
- Al Ashry HS, Hilmisson H, Ni Y, Thomas RJ, APPLES Investigators. Automated apnea-hypopnea index from oximetry and spectral analysis of cardiopulmonary coupling. Ann Am Thorac Soc. 2021;18(5):876-883. [CrossRef] [Medline]
- Nigro CA, Castaño G, Bledel I, Colombi A, Zicari MC. A novel, simple, and accurate pulse oximetry indicator for screening adult obstructive sleep apnea. Sleep Breath. 2022;26(3):1125-1134. [CrossRef] [Medline]
- Wan C, Nnamdi MC, Shi W, Smith B, Purnell C, Wang MD. Advancing sleep disorder diagnostics: a transformer-based EEG model for sleep stage classification and OSA prediction. IEEE J Biomed Health Inform. 2025;29(2):878-886. [CrossRef] [Medline]
- Yook S, Kim D, Gupte C, Joo EY, Kim H. Deep learning of sleep apnea-hypopnea events for accurate classification of obstructive sleep apnea and determination of clinical severity. Sleep Med. 2024;114:211-219. [CrossRef] [Medline]
- Liu Y, Huang W, Zou J, Xu H, Qian Y, Zhu H, et al. Sea level nocturnal minimal oxygen saturation can accurately detect the presence of obstructive sleep apnea in a population with high pretest probability. Sleep Breath. 2021;25(1):171-179. [CrossRef] [Medline]
- Levy J, Álvarez D, Del Campo F, Behar JA. Deep learning for obstructive sleep apnea diagnosis based on single channel oximetry. Nat Commun. 2023;14(1):4881. [FREE Full text] [CrossRef] [Medline]
- Garcia-Vicente C, Gutierrez-Tobal GC, Vaquerizo-Villar F, Martin-Montero A, Gozal D, Hornero R. SleepECG-Net: Explainable deep learning approach with ECG for pediatric sleep apnea diagnosis. IEEE J Biomed Health Inform. 2025;29(2):1021-1034. [CrossRef] [Medline]
- Pare G, Raymond L, Etindele Sosso FA. Nurses' intention to integrate AI into their practice: survey study in Canada. JMIR Nurs. 2025;8:e76795. [FREE Full text] [CrossRef] [Medline]
- Liu K, Geng S, Shen P, Zhao L, Zhou P, Liu W. Development and application of a machine learning-based predictive model for obstructive sleep apnea screening. Front Big Data. 2024;7:1353469. [FREE Full text] [CrossRef] [Medline]
- Kim YJ, Jeon JS, Cho S, Kim KG, Kang S. Prediction models for obstructive sleep apnea in Korean adults using machine learning techniques. Diagnostics (Basel). 2021;11(4):612. [FREE Full text] [CrossRef] [Medline]
- Talukder A, Li Y, Yeung D, Shi M, Umbach DM, Fan Z, et al. OSApredictor: A tool for prediction of moderate to severe obstructive sleep apnea-hypopnea using readily available patient characteristics. Comput Biol Med. 2024;178:108777. [FREE Full text] [CrossRef] [Medline]
- Gutiérrez-Tobal GC, Álvarez D, Vaquerizo-Villar F, Crespo A, Kheirandish-Gozal L, Gozal D, et al. Ensemble-learning regression to estimate sleep apnea severity using at-home oximetry in adults. Appl Soft Comput. 2021;111:107827. [CrossRef] [Medline]
- Chen Q, Liang Z, Wang Q, Ma C, Lei Y, Sanderson JE, et al. Self-helped detection of obstructive sleep apnea based on automated facial recognition and machine learning. Sleep Breath. 2023;27(6):2379-2388. [CrossRef] [Medline]
- Han H, Oh J. Application of various machine learning techniques to predict obstructive sleep apnea syndrome severity. Sci Rep. 2023;13(1):6379. [FREE Full text] [CrossRef] [Medline]
- Alotaibi N, Cheung M, Shah A, Hurst JR, Mani AR, Mandal S. Changes in physiological signal entropy in patients with obstructive sleep apnoea: a systematic review. Physiol Meas. 2024;45(9). [CrossRef] [Medline]
- Suen C, Ryan CM, Mubashir T, Ayas NT, Abrahamyan L, Wong J, et al. Sleep study and oximetry parameters for predicting postoperative complications in patients with OSA. Chest. 2019;155(4):855-867. [FREE Full text] [CrossRef] [Medline]
- Bokov P, Dudoignon B, Delclaux C. Hypoxic burden in children with sleep-disordered breathing: determinants and correlates. J Sleep Res. 2026;35(2):e70211. [CrossRef] [Medline]
- Yang J, Choudhary GI, Rahardja S, Fränti P. Classification of interbeat interval time-series using attention entropy. IEEE Trans. Affective Comput. 2023;14(1):321-330. [CrossRef]
- Terrill PI. A review of approaches for analysing obstructive sleep apnoea-related patterns in pulse oximetry data. Respirology. 2020;25(5):475-485. [CrossRef] [Medline]
- Kainulainen S, Töyräs J, Oksenberg A, Korkalainen H, Afara IO, Leino A, et al. Power spectral densities of nocturnal pulse oximetry signals differ in OSA patients with and without daytime sleepiness. Sleep Med. 2020;73:231-237. [CrossRef] [Medline]
- Chawla NV, Bowyer KW, Hall LO, Kegelmeyer WP. SMOTE: synthetic minority over-sampling technique. J Artif Intell Res. 2002;16:321-357. [CrossRef]
- Shi H, Wu C, Bai T, Chen J, Li Y, Wu H. Identify essential genes based on clustering based synthetic minority oversampling technique. Comput Biol Med. 2023;153:106523. [CrossRef] [Medline]
- Schober P, Vetter TR. Logistic regression in medical research. Anesth Analg. 2021;132(2):365-366. [FREE Full text] [CrossRef] [Medline]
- Boateng EY, Abaye DA. A review of the logistic regression model with emphasis on medical research. J Data Anal Inf Process. 2019;07(04):190-207. [CrossRef]
- Cervantes J, Garcia-Lamont F, Rodríguez-Mazahua L, Lopez A. A comprehensive survey on support vector machine classification: applications, challenges and trends. Neurocomputing. 2020;408:189-215. [CrossRef]
- Geetha R, Sivasubramanian S, Kaliappan M, Vimal S, Annamalai S. Cervical cancer identification with synthetic minority oversampling technique and PCA analysis using random forest classifier. J Med Syst. 2019;43(9):286. [CrossRef] [Medline]
- Chen T, Guestrin C. XGBoost: a scalable tree boosting system. 2016. Presented at: KDD '16: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; August 13-17; San Francisco California USA. [CrossRef]
- Li Y, Li M, Li C, Liu Z. Forest aboveground biomass estimation using landsat 8 and sentinel-1A data with machine learning algorithms. Sci Rep. 2020;10(1):9952. [FREE Full text] [CrossRef] [Medline]
- Ke G, Meng Q, Finley T, Wang T, Chen W, Ma W, et al. LightGBM: a highly efficient gradient boosting decision tree. 2017. Presented at: NIPS'17: Proceedings of the 31st International Conference on Neural Information Processing Systems; December 4-9:3149-3157; Long Beach California USA.
- Prokhorenkova L, Gusev G, Vorobev A, Dorogush A, Gulin A. CatBoost: unbiased boosting with categorical features. 2018. Presented at: NIPS'18: Proceedings of the 32nd International Conference on Neural Information Processing Systems; December 3-8:6639-6649; Montréal, Canada.
- Hicks SA, Strümke I, Thambawita V, Hammou M, Riegler MA, Halvorsen P, et al. On evaluation metrics for medical applications of artificial intelligence. Sci Rep. 2022;12(1):5979. [FREE Full text] [CrossRef] [Medline]
- DeVries Z, Locke E, Hoda M, Moravek D, Phan K, Stratton A, et al. Using a national surgical database to predict complications following posterior lumbar surgery and comparing the area under the curve and F1-score for the assessment of prognostic capability. Spine J. 2021;21(7):1135-1142. [CrossRef] [Medline]
- Martinez-Garcia MA, Sánchez-de-la-Torre M, White DP, Azarbarzin A. Hypoxic burden in obstructive sleep apnea: present and future. Arch Bronconeumol. 2023;59(1):36-43. [CrossRef] [Medline]
- Polytarchou A, Ohler A, Moudaki A, Koltsida G, Kanaka-Gantenbein C, Kheirandish-Gozal L, et al. Nocturnal oximetry parameters as predictors of sleep apnea severity in resource-limited settings. J Sleep Res. 2023;32(1):e13638. [CrossRef] [Medline]
- Li C, Gao Y, Huang W, Xu H, Liu Y, Zou J, et al. The use of the sleep apnea-specific hypoxic burden to predict obstructive sleep apnea hypopnea syndrome: evidence from a large cross-sectional study. Sleep Med. 2023;111:94-100. [CrossRef] [Medline]
- Corral-Peñafiel J, Pepin JL, Barbe F. Ambulatory monitoring in the diagnosis and management of obstructive sleep apnoea syndrome. Eur Respir Rev. 2013;22(129):312-324. [FREE Full text] [CrossRef] [Medline]
- Duarte RLM, Magalhães-da-Silveira FJ, Gozal D. Nocturnal oximetry in bariatric surgery patients referred to overnight in-lab polysomnography. Obesity (Silver Spring). 2021;29(9):1469-1476. [CrossRef] [Medline]
- Sforza E, Roche F, Chapelle C, Pichot V. Internight variability of apnea-hypopnea index in obstructive sleep apnea using ambulatory polysomnography. Front Physiol. 2019;10:849. [FREE Full text] [CrossRef] [Medline]
- Mashaqi S, Staebler D, Mehra R. Combined nocturnal pulse oximetry and questionnaire-based obstructive sleep apnea screening - a cohort study. Sleep Med. 2020;72:157-163. [CrossRef] [Medline]
- Varghese L, Rebekah G, Oliver A, Kurien R. Oxygen desaturation index as alternative parameter in screening patients with severe obstructive sleep apnea. Sleep Sci. 2022;15(Spec 1):224-228. [FREE Full text] [CrossRef] [Medline]
- Coso C, Solano-Pérez E, Romero-Peralta S, Castillo-García M, Silgado-Martínez L, López-Monzoni S, et al. The hypoxic burden, clinical implication of a new biomarker in the cardiovascular management of sleep apnea patients: a systematic review. Rev Cardiovasc Med. 2024;25(5):172. [FREE Full text] [CrossRef] [Medline]
- Feng T, Shan G, He H, Pei G, Tan J, Lu B, et al. The association of nocturnal hypoxemia with dyslipidemia in sleep-disordered breathing population of Chinese community: a cross-sectional study. Lipids Health Dis. 2023;22(1):159. [FREE Full text] [CrossRef] [Medline]
- Stewart GM, Tong BK, de Chazal P, Flood J, Bin YS, Kairaitis K, et al. Sydney Sleep Biobank Investigators. Relationship between framingham 10-year cardiovascular disease risk score and pulse wave amplitude drop characteristics in a sleep clinic cohort. Chest. 2026;169(2):514-526. [CrossRef] [Medline]
- Haghighat S, Joghatayi M, Issa J, Azimian S, Brinz J, Ashkan A, et al. Diagnostic accuracy of artificial intelligence for obstructive sleep apnea detection: a systematic review. BMC Med Inform Decis Mak. 2025;25(1):278. [FREE Full text] [CrossRef] [Medline]
- Sutherland K, Sadr N, Bin YS, Cook K, Dissanayake HU, Cistulli PA, et al. Comparative associations of oximetry patterns in obstructive sleep apnea with incident cardiovascular disease. Sleep. 2022;45(12):zsac179. [FREE Full text] [CrossRef] [Medline]
- Martinez-Garcia MA, Sánchez-de-la-Torre M, White DP, Azarbarzin A. Hypoxic burden in obstructive sleep apnea: present and future. Arch Bronconeumol. 2023;59(1):36-43. [CrossRef] [Medline]
- Sanchez-Azofra A, Orr JE, Sanz-Rubio D, Marin-Oto M, Alarcon-Sisamon S, Vicente E, et al. Apnea-specific pulse-rate response is associated with early subclinical atherosclerosis in obstructive sleep apnea. Arch Bronconeumol. 2025;61(2):82-89. [CrossRef] [Medline]
- Labarca G, Dreyse J, Salas C, Letelier F, Schmidt A, Rivera F, et al. Clinical utility of oximetric parameters to identify a high-risk phenotype of moderate-severe obstructive sleep apnea (OSA). Clin Respir J. 2020;14(12):1166-1175. [CrossRef] [Medline]
- Yook S, Park HR, Seo D, Joo EY, Kim H. Obstructive sleep apnea subtyping based on apnea and hypopnea specific hypoxic burden is associated with brain aging and cardiometabolic syndrome. Comput Biol Med. 2025;185:109604. [FREE Full text] [CrossRef] [Medline]
- Chapman JL, Hoyos CM, Killick R, Sutherland K, Cistulli PA, Zwar N, et al. Sydney OSA-GP study Investigators†. Development and validation of a model for diagnosis of obstructive sleep apnoea in primary care. Respirology. 2021;26(10):989-996. [CrossRef] [Medline]
- Russo S, Martini A, Luzzi V, Garbarino S, Pietrafesa E, Polimeni A. Exploring the complexity of obstructive sleep apnea: findings from machine learning on diagnosis and predictive capacity of individual factors. Sleep Breath. 2024;29(1):49. [CrossRef] [Medline]
- Liu X, Shu Y, Yu P, Li H, Duan W, Wei Z, et al. Classification of severe obstructive sleep apnea with cognitive impairment using degree centrality: a machine learning analysis. Front Neurol. 2022;13:1005650. [FREE Full text] [CrossRef] [Medline]
- Tsai CY, Liu WT, Hsu WH, Majumdar A, Stettler M, Lee KY, et al. Screening the risk of obstructive sleep apnea by utilizing supervised learning techniques based on anthropometric features and snoring events. Digit Health. 2023;9:20552076231152751. [FREE Full text] [CrossRef] [Medline]
- Hancock JT, Khoshgoftaar TM. CatBoost for big data: an interdisciplinary review. J Big Data. 2020;7(1):94. [FREE Full text] [CrossRef] [Medline]
- Moon J, Kim JH, Hong SJ, Yu CW, Kim YH, Kim EJ, et al. Deep learning model for identifying acute heart failure patients using electrocardiography in the emergency room. Eur Heart J Acute Cardiovasc Care. 2025;14(2):74-82. [CrossRef] [Medline]
- Sands SA, Alex RM, Mann D, Vena D, Terrill PI, Gell LK, et al. Pathophysiology underlying demographic and obesity determinants of sleep apnea severity. Ann Am Thorac Soc. 2023;20(3):440-449. [FREE Full text] [CrossRef] [Medline]
- Romero-Peralta S, García-Rio F, Resano Barrio P, Viejo-Ayuso E, Izquierdo JL, Sabroso R, et al. Defining the heterogeneity of sleep apnea syndrome: a cluster analysis with implications for patient management. Arch Bronconeumol. 2022;58(2):125-134. [CrossRef] [Medline]
- Chinese Thoracic Society. [Expert consensus on the diagnosis and treatment of obstructive sleep apnea in women]. Zhonghua Jie He He Hu Xi Za Zhi. 2024;47(6):509-528. [CrossRef] [Medline]
- Patiño MC, Bueno Florez SJ, Gallo L, Ortiz PA, Payán-Gómez C, Molano-Gonzalez N, et al. Gender and polysomnographic profiles findings in obstructive sleep apnea syndrome patients living in high altitude. Nat Sci Sleep. 2021;13:547-556. [FREE Full text] [CrossRef] [Medline]
- Poka-Mayap V, Balkissou Adamou D, Massongo M, Voufouo Sonwa S, Alime J, Moutlen BPM, et al. Obstructive sleep apnea and hypopnea syndrome in patients admitted in a tertiary hospital in Cameroon: prevalence and associated factors. PLoS One. 2020;15(1):e0227778. [FREE Full text] [CrossRef] [Medline]
- Soria Robles AI, Aguado Blanco C, Juárez España M, Andrés Pretel F, Massó Núñez ML, Vizcaíno García MS, et al. Obstructive sleep apnea and oxygenation in very old adults: a propensity-score match study. J Am Med Dir Assoc. 2024;25(7):105023. [CrossRef] [Medline]
- Li X, Zhou Z, Fan J, Zhao L, Xu R, Li D, et al. A machine learning algorithm to predict treatment effectiveness for Kawasaki disease in China: a retrospective model development and validation study. Front Immunol. 2025;16:1629600. [FREE Full text] [CrossRef] [Medline]
- Abd-Alrazaq A, Aslam H, AlSaad R, Alsahli M, Ahmed A, Damseh R, et al. Detection of sleep apnea using wearable AI: systematic review and meta-analysis. J Med Internet Res. 2024;26:e58187. [FREE Full text] [CrossRef] [Medline]
- Ferreira-Santos D, Amorim P, Silva Martins T, Monteiro-Soares M, Pereira Rodrigues P. Enabling early obstructive sleep apnea diagnosis with machine learning: systematic review. J Med Internet Res. 2022;24(9):e39452. [FREE Full text] [CrossRef] [Medline]
- Acevedo-Fontanez AI, Patel SR. Racial disparities in obstructive sleep apnea care in the United States. Sleep. 2025;48(6):zsaf078. [CrossRef] [Medline]
Abbreviations
| AHI: apnea-hypopnea index |
| AUC: area under the receiver operating characteristic curve |
| CatBoost: categorical boosting |
| HB: hypoxic burden |
| HSAT: home sleep apnea test |
| LightGBM: light gradient boosting machine |
| LR: logistic regression |
| ML: machine learning |
| ODI: oxygen desaturation index |
| OSA: obstructive sleep apnea |
| PPV: positive predictive value |
| PSG: polysomnography |
| RCS: restricted cubic spline |
| RF: random forest |
| SHAP: Shapley additive explanations |
| SMOTE: synthetic minority over‑sampling technique |
| SVM: support vector machine |
| XGBoost: extreme gradient boosting |
Edited by A Benis; submitted 09.Jul.2025; peer-reviewed by FAE Sosso, B Xiang; comments to author 16.Oct.2025; revised version received 25.Feb.2026; accepted 06.Mar.2026; published 08.May.2026.
Copyright©Xuanyu Qian, Haitong Luo, Rong Ding, Tianming Gao, Haoan Wang, Pengliang Wu, Ning Li. Originally published in JMIR Medical Informatics (https://medinform.jmir.org), 08.May.2026.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on https://medinform.jmir.org/, as well as this copyright and license information must be included.


















